const Child = (props) => {
    //相当于vue中的slot插槽
    console.log(props.children);
    return (
        <div>
            <h1>我是child组件</h1>
            {props.children[0]}
        </div>
    )
}
export default Child